<?php
	session_start();
	require_once('LeaveFormView.php');	
	if(isset($_SESSION['login']) && $_SESSION['login']==true){
	LeaveFormView :: displayAddLeave ($_SESSION['employeeNumber'], $_SESSION['gender']);
	}
	else
		header("Location: menu.php");
?>